<?php
header("Content-type:text/html; charset=utf-8;");
require('../ppf/fun.php');
require("../ppf/pdo_template.php");
require("../ppf/pdo_mysql.php"); 

session_start();   
$qname=isset($_GET["t"])?$_GET["t"]:"ppf_tpl"; 

$pd = new pdo_mysql();
$T=new pdo_template('./html/'.$qname.'.html',true,"utf8");

switch($qname){
    case "ppf_tpl":
        $n=0;
        break;
}

#释放资源
$T->clearNoN();
$T->clearNaN();
$T->display();
$T->close();	
unset($T);